package org.rcloud.io.mapper;

import com.alibaba.fastjson.JSONObject;
import org.rcloud.io.model.Picture;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PictureMapper {
    int deleteByPrimaryKey(Picture id);

    int insert(Picture record);

    int insertSelective(Picture record);

    Picture selectByPrimaryKey(Picture id);

    List<Picture> selectByActivid(Picture record);

    List<Picture> selectByActivcopyid(Picture record);

    int updateByPrimaryKeySelective(Picture record);

    int updateByPrimaryKey(Picture record);

    List<Picture> selectByOther(JSONObject params);
}